import requset from "./request";

export let getData = (url, params) => {
  return requset(url,{
    method: "get",
    params: params
  });
};
export let postData = (url,params)=>{
    return requset(url,{
        method:'post',
        params
    })
}
export let path = (url,params)=>{
    return requset(url,{
        method:'put',
        params
    })
}
export let del = (url)=>{
    return requset(url,{
        method:'delete',
    })
}
